import request from '@/utils/request'

// 查询产品测试详情列表
export function listProductTestInfo(query) {
  return request({
    url: '/produce/product-test-info/list',
    method: 'get',
    params: query
  })
}

// 查询产品测试详情详细
export function getProductTestInfo(id) {
  return request({
    url: '/produce/product-test-info/' + id,
    method: 'get'
  })
}

// 新增产品测试详情
export function addProductTestInfo(data) {
  return request({
    url: '/produce/product-test-info',
    method: 'post',
    data: data
  })
}

// 修改产品测试详情
export function updateProductTestInfo(data) {
  return request({
    url: '/produce/product-test-info',
    method: 'put',
    data: data
  })
}

// 删除产品测试详情
export function delProductTestInfo(id) {
  return request({
    url: '/produce/product-test-info/' + id,
    method: 'delete'
  })
}

// 逻辑删除产品测试详情
export function removedProductTestInfo(id) {
  return request({
    url: '/produce/product-test-info/' + id,
    method: 'delete'
  })
}


